WCProductsWizard\Cart D

Total Complexity 282
Dependencies 9
Dependents 5
Total lines 1,465
Lines of code 794
Logical lines of code 400
Comment lines 406
Methods 44
Properties 3

Methods 44

Method Rating Maintainability Complexity Lines of code
get()
C
35 30 78
beforeCalculateAction()
C
35 24 86
itemPriceFilter()
A
51 14 24
itemSubTotalFilter()
A
51 14 24
addProduct()
A
41 11 60
getItemPrice()
A
45 12 39
getTotalPrice()
A
54 12 19
getTotal()
A
54 12 16
modifyPriceAccordingItemTaxes()
A
49 11 28
itemRemoveAction()
A
53 11 22
quantityUpdateAction()
A
53 10 23
itemDataFilter()
A
46 8 37
itemRestoreAction()
A
56 9 18
getKeyByVariationData()
S
59 7 12
getKitChildData()
S
47 5 34
getProductById()
S
60 6 12
getKeyByProductId()
S
60 6 12
itemQuantityFilter()
S
63 6 11
getProductMeta()
S
59 5 14
removeByStepId()
S
59 5 13
getItemStepInputChildrenPrice()
S
60 5 12
getItemFinalPrice()
S
61 5 11
itemAfterRemoveAction()
S
64 5 10
displayPricesIncludesTax()
S
65 5 8
getProductsAndVariationsIds()
S
60 4 13
generateProductId()
S
62 4 11
itemClass()
S
63 4 11
getCategoriesIds()
S
62 3 11
itemRemoveLinkFilter()
S
68 3 7
itemAfterRestoreAction()
S
67 3 8
getStepsIds()
S
63 3 10
itemThumbnailFilter()
S
60 2 13
__construct()
S
54 1 20
setItemPrice()
S
68 2 7
clearCache()
S
70 2 7
pricesIncludeTax()
S
70 2 6
removeByProductId()
S
63 2 10
getItemByKey()
S
70 2 5
itemVisibilityFilter()
S
71 2 6
set()
S
78 1 3
truncate()
S
69 1 7
removeByCartKey()
S
65 1 9
getByStepId()
S
73 1 4
getStorage()
S
78 1 3